import type { LoginData, LoginParams } from "@/types/user"
import { request } from "@/utils/reuqest"



// 登录请求
export const loginAPI = (data:LoginParams) =>{
    return  request<LoginData>('/park/login','POST',data)
}